CSS node tests: Add a way to test rtl vs ltr
authorMatthias Clasen <mclasen@redhat.com>
Wed, 6 Jan 2016 04:22:28 +0000 (23:22 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 6 Jan 2016 19:57:42 +0000 (14:57 -0500)
commita519a1a9284d749356a46ec249c5fdb9dd2f641c
tree1824905f4ad611f9b87dbadabb91e6b41c9db315
parent47afccb41bc5258b15b3b14148ffcc50fb3a0933
CSS node tests: Add a way to test rtl vs ltr

CSS nodes have a linear sibling relationship; this is supposed
to correspond to left-to-right placement in horizontal arrangements.
This commit explicitly sets the text direction to rtl if the
filename ends in .rtl.ui, so we can test differences in node
tree layout between text directions.
testsuite/css/nodes/test-css-nodes.c